package com.opennews.openplatform.dto.account.group;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.opennews.openplatform.myspringbootcore.dto.IdentityDto;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountGroupDto extends IdentityDto {
    @NotBlank(message = "title can't be blank")
    @Size(max = 50, message = "title must be at most 50 characters")
    private String title;
}
